package com.daka.service;

import com.daka.entity.Topic;
import com.daka.vo.db.TopicCommentVolunteerVo;
import com.daka.vo.request.TopicListRequestVo;

import java.util.List;

/**
 * @author beliveli on 2016/4/6 0006.
 */
@SuppressWarnings("unused")
public interface TopicService {
    Topic selectById(int id);

    List<Topic> selectAll();

    List<Topic> selectByParam(TopicListRequestVo topicListRequestVo);

    Topic save(Topic topic);

    int updateById(Topic topic);

    Topic updateDisplay(Topic topic);

    Topic updateTop(Topic topic);

    List<TopicCommentVolunteerVo> selectCommentById(Integer topicId);
}
